<div data-page="Subject_offline_select_course" class="page my_subject">
    <div class="page-content">
        <include file="Public:subject_header"/>
        <div class="container text mgb80">
            <div class="col-md-12">
                <include file="Public:subject_nav"/>
            </div>
            <div class="col-md-8">
                <div id="offline_select" data-type="swiperPage">
                    <ul class="gntabs swiperTap">
                        <li><a href="<{:U('offline_select_record',array('subjectid'=>$subjectid))}>">选座记录</a></li>
                        <li class="active"><a
                                href="<{:U('offline_select_course',array('subjectid'=>$subjectid))}>">选座</a></li>
                        <li class="offline_guide"><a
                                href="<{:U('offline_guide',array('subjectid'=>$subjectid))}>">选座指南</a></li>

                    </ul>
                    <div class="swiperContent">
                        <div class="tabPane">
                            <div class="select_course_form">
                                <form class="form-horizontal wap-col">
                                    <div class="form-group">
                                        <label for="inputEmail3" class="col-sm-2 control-label">大学</label>
                                        <div class="col-sm-10">
                                            <input type="text" readonly="readonly" class="form-control"
                                                   value="<{$user_info['school']['name']}>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="inputPassword3" class="col-sm-2 control-label">课程</label>
                                        <div class="col-sm-10">
                                            <select class="form-control" onchange="jump_offline_select_course(this)">
                                                <volist name="subjectList" id="vo">
                                                    <option value="<{$vo.subjectid}>"

                                                    <if condition="$vo['subjectid'] eq $subjectid">selected="selected"
                                                    </if>
                                                    ><{$vo.subject}>
                                                    </option>
                                                </volist>
                                            </select>


                                            <!-- <input  type="text" readonly="readonly" class="form-control" value="<{$subjectInfo.subject}>">-->
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="inputPassword3" class="col-sm-2 control-label">选择日期</label>
                                        <div class="col-sm-10">
                                            <div class="dl-ul-span" id="select_day_div">
                                                <volist name="week_array" id="vo"><span week="<{$key}>" class="wday"><{$vo}></span>
                                                </volist>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group" id="class_room_div" style="display:none">
                                        <label for="inputPassword3" class="col-sm-2 control-label">选择机房</label>
                                        <div class="col-sm-10">
                                            <select id="class_room_id" class="form-control" name="class_room_id">

                                            </select>
                                            <select style="display: none" id="class_room_id_html" class="form-control"
                                                    name="class_room_id_html">
                                                <volist name="classrooms" id="list">
                                                    <volist name="list" id="vo">
                                                        <option data-week="<{$vo.week}>" value="<{$vo.class_room_id}>">
                                                            <{$vo.class_name}>
                                                        </option>
                                                    </volist>
                                                </volist>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group" id="time_quantum_div" style="display:none">
                                        <label for="inputPassword3" class="col-sm-2 control-label">选择时间</label>
                                        <div class="col-sm-10">
                                            <div class="dl-ul-span" id="part_times">
                                                <volist name="timeQuantum" id="vo"><span class="wday"
                                                                                         data-id="<{$vo.id}>"
                                                                                         limit_seat="<{$vo.limit_seat}>"
                                                                                         data-classrooms="<{$vo.week}>_<{$vo.class_room_id}>"><{$vo.lable}></span>
                                                </volist>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="col-sm-offset-2 col-sm-10"><a id="offline_select_seat"
                                                                                  class="btn btn-success">点击选座</a></div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-4 hidden-xs hidden-sm hidden-md"> <{:AD('offline_guide_'.$subjectParentId)}> <a
                    class="btn btn-success w100 a_bnt mgb20" title="我要提问" data-type="modal"
                    href="/Subject/ask/pid/<{$subjectid}>">我要提问</a> <{:ADGroup('Subject_offline')}>
            </div>
        </div>
    </div>

    <include file="Public:footer"/>
</div>
